import java.io.IOException;

import curves.CurveApplication;
import function.FunVariations;
import function.Function;
import function.Functions;
import function.SyntaxErrorException;


public class TestFunction {
	public static void main(String[] args) throws SyntaxErrorException, IOException {
		Function f = Functions.parse("cos x");
		CurveApplication.start(new FunVariations(f, -2 * Math.PI, 2 * Math.PI));
	}
}
